<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		window.onload = function(){

			box = document.getElementById('box');
			input = document.getElementById('in');

			box.onmouseover = function(){
				alert(888)
			}

			input.onchange = function (argument) {
				alert(99)
			}

		}

	</script>
</head>
<body>
	<p id="box">学并思</p>
	<input type="text" id="in">
</body>
</html>